package com.framework.base.spi;

import java.util.Iterator;

/**
 * @author chaolong.jin
 * @description
 * @date 2019/04/29 13:49
 */
public class Test<T> implements Iterable<T> {
    public void sayHello(){
        System.out.println("hello");
    }
    public static void main(String[] args){
        Test<TestInterface> testInterfaceTest=new Test<>();
        for (TestInterface testInterface : testInterfaceTest) {
            testInterface.test();
        }
    }


    @Override
    public Iterator<T> iterator() {
        return null;
    }
}
